<script>
//1.引入组件
import HeaderComponent from "@/components/header-component.vue";
export default {
  name: "App",
  //2.在components节点下注册组件
  components: {
    HeaderComponent
  }
}
</script>

<!--结构-->
<template>
  <div id="app">
    <!--以标签的形式使用组件-->
    <header-component></header-component>
  </div>
</template>
<style lang="less">

</style>
